package com.vframework.system.security.mapper;

import java.util.List;
import java.util.Map;

import com.vframework.base.mapper.BaseMapper;
import com.vframework.system.menu.model.MenuBean;
import com.vframework.system.role.model.RoleBean;
import com.vframework.system.user.model.UserBean;

public interface SecurityMapper extends BaseMapper {
    
    public UserBean queryLoginUserByAccount(String userName);

    public List<RoleBean> queryRoleByUserId(String userId);
    
    
    
    
    
    
    
    
    
    
    
    
    public Integer countUserByAccount(String userName);

    public Integer countUserByAccountAndPassword(Map<?, ?> paramMap);
    
    
    public List<RoleBean> queryLoginUserRole(Map<?, ?> paramMap);
    
    public List<MenuBean> getMenuByUserId(String userId);
}
